<template>
  <div class="D-MyApp">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'DSJ-App',
  // 组件销毁时候 清空token
  destroyed() {
    this.$store.commit('Ditem/updatedToken', '')
  }
}
</script>

<style lang="less" scoped>
.D-MyApp {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
}
</style>
